/*
 * Copyright 2007-2022 西安交通信息投资营运有限公司 版权所有
 */

package com.xci.xajtfb.bus.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.github.lvyanyang.core.BaseEntity;
import com.github.lvyanyang.core.Const;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.util.Date;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 交通资讯
 * @author 王彦红 wangyanhong@xci96716.com
 * @since 2022-02-10 14:06:00
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "交通资讯")
public class WxNewsinformation extends BaseEntity {
    /**
     *
     */
    @ExcelIgnore
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 1)
    private Integer id;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 2)
    private String infoclass;

    /**
     *
     */
    @Length(max = -1, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 3)
    private String newsinfo;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 4)
    private String adddate;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 5)
    private String roadstate;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 6)
    private String weather;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 7)
    private String emergency;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 8)
    private String classs;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 9)
    private String addoper;

    /**
     *
     */
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 10)
    private Integer releasesign;

    /**
     *
     */
    @Length(max = 50, message = "长度不能超过{max}个字符")
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 11)
    private String releaseoper;

    /**
     *
     */
    @Excel(name = "", width = 20d)
    @ApiModelProperty(value = "", position = 12)
    private Date releasedate;

}